Recurring Apache 2.0.52 error on CentOS 4 - 'could not create `rewrite_log_lock`'

Posted by warren on Server Fault See other posts from Server Fault or by warren
Published on 2010-05-16T05:45:32Z Indexed on 2010/05/16 5:50 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

I have been seeing a recurring issue on my web server:

[Sun May 16 03:10:19 2010] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Sun May 16 04:10:05 2010] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Sun May 16 05:10:04 2010] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Sun May 16 05:17:13 2010] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

So far, the only fix I have found to this when it happens is to reboot my server. This is non-ideal :-\

Restarting httpd does not clear the error. df indicates I have 20+ gigs free, and top and free both report 800+ megs (or 1.2 gigs)

> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs             40G   18G   23G  44% /

#

> free
             total       used       free     shared    buffers     cached
Mem:       1474560     300832    1173728          0          0          0
-/+ buffers/cache:     300832    1173728

Any ideas on why this would recur, and how to prevent/fix it?

© Server Fault or respective owner

Related posts about apache

Related posts about centos